package hl7;

import com.orion.symphonia3.MessageElement;
import com.orion.symphonia3.MessageComponent;

public class EDC_HL7FldCN extends MessageComponent{
	
	//Declarations

	public EDC_HL7FldST IDNumber;
	public EDC_HL7FldST FamilyName;
	public EDC_HL7FldST GivenName;
	public EDC_HL7FldST MiddleInitialOrName;
	public EDC_HL7FldST Suffix;
	public EDC_HL7FldST Prefix;
	public EDC_HL7FldST Degree;
	public EDC_HL7FldST SourceTable;
	public EDC_HL7FldHD AssigningAuthority;

	//Constructor
	public EDC_HL7FldCN(MessageElement elem) {
		super(elem);
		IDNumber = new EDC_HL7FldST(elem.getElementAt("IDNumber"));
		FamilyName = new EDC_HL7FldST(elem.getElementAt("FamilyName"));
		GivenName = new EDC_HL7FldST(elem.getElementAt("GivenName"));
		MiddleInitialOrName = new EDC_HL7FldST(elem.getElementAt("MiddleInitialOrName"));
		Suffix = new EDC_HL7FldST(elem.getElementAt("Suffix"));
		Prefix = new EDC_HL7FldST(elem.getElementAt("Prefix"));
		Degree = new EDC_HL7FldST(elem.getElementAt("Degree"));
		SourceTable = new EDC_HL7FldST(elem.getElementAt("SourceTable"));
		AssigningAuthority = new EDC_HL7FldHD(elem.getElementAt("AssigningAuthority"));
	}

}
